switch (character_weapon)
{
case 0:
//Melee attack
//action_attack_melee();
break;
case 1:
//Laser1
action_attack_laser1();
break;
}
